package com.travel.bootmall.dao;

import com.travel.bootmall.bean.Blog;
import org.springframework.data.jpa.repository.JpaRepository;

public interface BlogRepository extends JpaRepository<Blog, Long> {
    public Blog findBlogById(Long id);
    public Blog findBlogByTitle(String name);
}
